
module Mil
  module Object
    class Interface
      include Mil::Utils

      # The wrapped structure accessor
      attr_reader :struct

      # This method will compare the internal wrapped structure with
      # that of the object passed in.
      def == (object)
      end

      # This method should be overriden to create an instance of the
      # wrapped structure type from the passed string and store it
      # in the @struct variable.
      def struct=(string)
      end

      # This method should be overriden to return a printable string
      # representation of the wrapped structure. By default this
      # method will just return the structures to_s method.
      def dump
	@struct.to_s
      end
    end
  end
end
